package org.dromara.web.CssUtil;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @auther Cai Shuai Shuai
 * @data 2025/2/20
 * @apiNode
 */
@Component
@ConfigurationProperties(prefix = "wxpay")
@Data
public class WxPayBean {
    private String appId;
    private String appSecret;
    private String mchId;
    private String partnerKey;
    private String certPath;
    private String domain;

    private String notifyUrl;

    private String cznotifyUrl;

    private String refundNotifyUrl;

    @Override
    public String toString() {
        return "WxPayBean [appId=" + appId + ", appSecret=" + appSecret + ", mchId=" + mchId + ", partnerKey="
            + partnerKey + ", certPath=" + certPath + ", domain=" + domain + "]";
    }
}
